#!/bin/bash

container_name="auth2-access-token-redis"

if [[ "$(docker ps -aq -f name=$container_name)" ]]; then
    echo "skip create:""$container_name"
else
    docker container create --name "$container_name" --network="$network_name" -v "$PWD"/data:/opt/redis/data -v "$PWD"/conf/redis.conf:/etc/redis/redis.conf -p 6379:6379 redis:latest
fi

